export class PaginationItem<T> {
  content: Array<T>;
  firstPage: boolean;
  lastPage: boolean;
  number: number;
  numberOfElements: number;
  size: number;
  sorts: Array<PaginationSort>;
  totalElements: number;
  totalPages: number;
}

export class PaginationSort {
  direction: string;
  property: string;
  ignoreCase: boolean;
  ascending: boolean;
}